package cn.cxy.exec;

import java.util.Scanner;

/**
 * @Author 金帮嘉诚
 * @Date 2021-06-10 周四 8:29
 */
//绝对值
public class TestNum {
    public static void main(String[] args) {
        double number=0;
        number=new Scanner(System.in).nextDouble();

        if(number>=0){
            System.out.println("number = " + number);
        }else {
            System.out.println("(-number) = " + (-number));
        }
    }
}
